#!/bin/bash


TESTFILE=$(ls -tr Tests-*/*Test.php | tail -n 1)
OUTFILE=$(ls -tr out/* | tail -n 1)
> debug.out
APPDATA=$PWD/appdata/test01 DOCUMENT_ROOT=/www/dbfoundry.com/htdocs phpunit --verbose --log-tap phpunit.recent.tap $TESTFILE
echo "------------------------------------------------------------------------"
grep '^[n\t ]' phpunit.recent.tap
echo "------------------------------------------------------------------------"
echo "vi $TESTFILE $OUTFILE"
echo "APPDATA=$PWD/appdata/test01 DOCUMENT_ROOT=/www/dbfoundry.com/htdocs phpunit --verbose --log-tap phpunit.recent.tap $TESTFILE"

